Skip to content

Conversation

denrase
Copy link
Collaborator

@denrase denrase commented May 6, 2025

📜 Description

Supabase instrumentation for database operations (no auth instrumentation)

  • Breadcrumbs
  • Body Redaction
  • Tracing
  • Errors
  • PII (Body, Query)

💡 Motivation and Context

Closes #2727

💚 How did you test it?

Unit tests.

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

Copy link
Contributor

github-actions bot commented May 6, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against e0b51dc

Copy link

codecov bot commented May 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.77%. Comparing base (36820e8) to head (e0b51dc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2913   +/-   ##
=======================================
  Coverage   87.77%   87.77%           
=======================================
  Files         291      291           
  Lines        9952     9952           
=======================================
  Hits         8735     8735           
  Misses       1217     1217           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented May 6, 2025

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 479.15 ms 537.30 ms 58.15 ms
Size 6.54 MiB 7.71 MiB 1.17 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
81f83eb 471.40 ms 522.14 ms 50.74 ms
0929dbf 462.82 ms 492.76 ms 29.94 ms
4481076 484.08 ms 505.70 ms 21.61 ms
6b69699 456.06 ms 557.44 ms 101.38 ms
3615e19 468.38 ms 504.71 ms 36.33 ms
575ebaa 478.00 ms 585.76 ms 107.76 ms
eca355d 485.50 ms 569.85 ms 84.35 ms
7cfee3b 498.78 ms 516.98 ms 18.20 ms
e2d675d 457.92 ms 529.17 ms 71.25 ms
7cfbbd6 499.69 ms 592.24 ms 92.55 ms

App size

Revision Plain With Sentry Diff
81f83eb 6.54 MiB 7.69 MiB 1.15 MiB
0929dbf 6.54 MiB 7.70 MiB 1.17 MiB
4481076 6.54 MiB 7.69 MiB 1.15 MiB
6b69699 6.54 MiB 7.70 MiB 1.17 MiB
3615e19 6.54 MiB 7.70 MiB 1.16 MiB
575ebaa 6.54 MiB 7.69 MiB 1.15 MiB
eca355d 6.54 MiB 7.70 MiB 1.16 MiB
7cfee3b 6.54 MiB 7.70 MiB 1.17 MiB
e2d675d 6.54 MiB 7.69 MiB 1.15 MiB
7cfbbd6 6.54 MiB 7.70 MiB 1.17 MiB

Previous results on branch: feat/supabase

Startup times

Revision Plain With Sentry Diff
30c089b 471.71 ms 522.65 ms 50.94 ms
6a8651f 476.65 ms 532.62 ms 55.96 ms
e4d1bf6 499.64 ms 528.47 ms 28.82 ms
0a08454 515.10 ms 634.67 ms 119.57 ms
f8ec07b 452.65 ms 537.85 ms 85.21 ms
34b0923 509.55 ms 590.18 ms 80.62 ms
77c7ea9 447.20 ms 497.53 ms 50.33 ms
5e3ca91 451.24 ms 496.74 ms 45.50 ms
0ab2edd 459.85 ms 506.63 ms 46.77 ms
d2f4fd9 453.31 ms 507.02 ms 53.71 ms

App size

Revision Plain With Sentry Diff
30c089b 6.44 MiB 7.43 MiB 1010.46 KiB
6a8651f 6.54 MiB 7.53 MiB 1015.94 KiB
e4d1bf6 6.44 MiB 7.44 MiB 1017.53 KiB
0a08454 6.44 MiB 7.43 MiB 1013.22 KiB
f8ec07b 6.54 MiB 7.70 MiB 1.17 MiB
34b0923 6.44 MiB 7.43 MiB 1013.10 KiB
77c7ea9 6.54 MiB 7.70 MiB 1.17 MiB
5e3ca91 6.44 MiB 7.44 MiB 1017.53 KiB
0ab2edd 6.54 MiB 7.53 MiB 1016.33 KiB
d2f4fd9 6.54 MiB 7.53 MiB 1017.45 KiB

Copy link
Contributor

github-actions bot commented May 6, 2025

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1262.92 ms 1271.00 ms 8.08 ms
Size 20.70 MiB 22.46 MiB 1.76 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ec78888 1251.37 ms 1269.40 ms 18.04 ms
7cfbbd6 1270.63 ms 1285.36 ms 14.72 ms
793f4dc 1262.50 ms 1282.35 ms 19.85 ms
b6c8720 1252.65 ms 1266.61 ms 13.96 ms
6b69699 1254.80 ms 1273.31 ms 18.52 ms
cc4e375 1253.06 ms 1263.81 ms 10.75 ms
2d34233 1258.19 ms 1268.92 ms 10.73 ms
575ebaa 1262.20 ms 1274.24 ms 12.04 ms
32914d8 1275.47 ms 1285.20 ms 9.73 ms
640ad0c 1241.04 ms 1253.96 ms 12.92 ms

App size

Revision Plain With Sentry Diff
ec78888 7.86 MiB 9.44 MiB 1.58 MiB
7cfbbd6 7.86 MiB 9.44 MiB 1.58 MiB
793f4dc 7.86 MiB 9.44 MiB 1.58 MiB
b6c8720 7.86 MiB 9.44 MiB 1.58 MiB
6b69699 7.86 MiB 9.44 MiB 1.58 MiB
cc4e375 7.86 MiB 9.44 MiB 1.58 MiB
2d34233 7.86 MiB 9.44 MiB 1.58 MiB
575ebaa 7.86 MiB 9.44 MiB 1.58 MiB
32914d8 7.86 MiB 9.44 MiB 1.58 MiB
640ad0c 7.86 MiB 9.44 MiB 1.58 MiB

Previous results on branch: feat/supabase

Startup times

Revision Plain With Sentry Diff
5e3ca91 1263.90 ms 1277.43 ms 13.53 ms
d2f4fd9 1252.60 ms 1271.13 ms 18.52 ms
6a8651f 1254.15 ms 1266.88 ms 12.73 ms
0ab2edd 1254.71 ms 1264.28 ms 9.56 ms
77c7ea9 1264.57 ms 1279.47 ms 14.89 ms
f8ec07b 1259.06 ms 1273.22 ms 14.16 ms
30c089b 1257.23 ms 1269.16 ms 11.93 ms
0a08454 1265.15 ms 1283.18 ms 18.04 ms
34b0923 1269.29 ms 1275.88 ms 6.59 ms
8bd9497 1265.35 ms 1273.98 ms 8.63 ms

App size

Revision Plain With Sentry Diff
5e3ca91 8.43 MiB 10.00 MiB 1.56 MiB
d2f4fd9 7.86 MiB 9.45 MiB 1.59 MiB
6a8651f 7.85 MiB 9.42 MiB 1.57 MiB
0ab2edd 7.85 MiB 9.45 MiB 1.59 MiB
77c7ea9 7.86 MiB 9.44 MiB 1.58 MiB
f8ec07b 7.86 MiB 9.44 MiB 1.58 MiB
30c089b 8.43 MiB 10.01 MiB 1.58 MiB
0a08454 8.43 MiB 10.01 MiB 1.58 MiB
34b0923 8.43 MiB 10.01 MiB 1.58 MiB
8bd9497 8.43 MiB 10.01 MiB 1.58 MiB

cursor[bot]

This comment was marked as outdated.

@buenaflor
Copy link
Contributor

buenaflor commented Jul 22, 2025

@denrase pls take a look at cursor's comment I think the concern is valid since we'd be doing this for every request

@denrase
Copy link
Collaborator Author

denrase commented Jul 23, 2025

@buenaflor 🤦‍♂️

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

# Conflicts:
#	.craft.yml
#	packages/flutter/example/pubspec_overrides.yaml
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supabase Support
2 participants